<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr" xmlns="http://www.w3.org/1999/xhtml">
<%@include file="/WEB-INF/taglibs/common/taglibs.jsp"%>

<head>
<title><spring:message code="admin.editrolehierarchy.title" /></title>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<link rel="stylesheet" href="<c:url value="/css/styles.css"/>" />
<script src="<c:url value="/javascripts/common.js"/>"></script>
</head>

<body><%@include file="../top_menu.jsp"%>
<%@include file="/WEB-INF/jsp/include/header.jsp"%>
<table width=100%>
	<tr>
		<td><%@include file="/WEB-INF/jsp/menu/admin_role_menu.jsp"%>
		<br />
		</td>
	</tr>
	<tr>
		<td><%@include file="/WEB-INF/jsp/include/messages.jsp"%>
		<br />
		</td>
	</tr>
</table>
<form:form commandName="roleHierarchy" method="post">
	<table width=70% class="formTable">

		<tr class="formHeader">
			<td colspan="5"><spring:message code="admin.editrolehierarchy.label.updaterolehierarchy" /></td>
		</tr>
		<tr bgcolor="#FFFFFF">
			<td width="10%"><form:select path="role1">
				<c:forEach items="${roleList}" var="item" varStatus="i">
					<form:option value="${item.id}">${item.name}</form:option>
				</c:forEach>
			</form:select></td>

			<td width="10%"><form:select path="sign">
				<c:forEach items="${signList}" var="item" varStatus="i">
					<form:option value="${item}">${item}</form:option>
				</c:forEach>
			</form:select></td>



			<td width="80%"><form:select path="role2">
				<c:forEach items="${roleList}" var="item" varStatus="i">
					<form:option value="${item.id}">${item.name}</form:option>
				</c:forEach>
			</form:select> <input type="submit" class='ui-button ui-state-default ui-corner-all' value="<spring:message code="admin.editrolehierarchy.button.update" />" /> <input type="button" class='ui-button ui-state-default ui-corner-all'
				value="<spring:message code="admin.editrolehierarchy.button.cancel" />" onclick="javascript:history.back();" /></td>
		</tr>





	</table>

</form:form><%@include file="/WEB-INF/jsp/include/footer.jsp"%>
</body>
</html>